﻿@model IEnumerable<SPDeveloper.Web.Models.Article>
@{
    ViewBag.Title = "主页";
}

    
    <div id="question-mini-list">
        @foreach (var item in Model)
        {
            <div class="question-summary narrow" id="question-summary-6459">
                <div onclick="window.location.href='/Article/Details/@item.ArticleId'" class="cp">
                    <div class="votes">
                        <div class="mini-counts">
                            1</div>
                        <div>
                            vote</div>
                    </div>
                    <div class="status answered">
                        <div class="mini-counts">
                            1</div>
                        <div>
                            answer</div>
                    </div>
                    <div class="views">
                        <div class="mini-counts">
                            @item.Views</div>
                        <div>
                            views</div>
                    </div>
                </div>
                <div class="summary">
                    <h3>
                    
                    <!--标题-->
                        <a href="/Article/Details/@item.ArticleId" class="question-hyperlink" title="@item.Content.Trim()">@item.Title</a></h3>

                    <!--Tag-->
                    <div class="tags t-user-profile t-claims-based-auth t-profile-sync">
                        <a href="#" class="post-tag" title="show questions tagged 'user-profile'" rel="tag">
                            user-profile</a> <a href="#" class="post-tag" title="show questions tagged 'claims-based-auth'"
                                rel="tag">claims-based-auth</a> <a href="/questions/tagged/profile-sync" class="post-tag"
                                    title="show questions tagged 'profile-sync'" rel="tag">profile-sync</a>
                    </div>
                    
                    <!--发布者信息-->
                    <div class="started">
                        <a href="/questions/6459/user-profile-synchronisation-to-multiple-domains/?lastactivity"
                            class="started-link"><span title="2011-12-28 08:08:48Z" class="relativetime">1h ago</span></a>
                        <a href="/users/-1/community">Community</a><span class="mod-flair" title="moderator">&#9830;</span>
                        <span class="reputation-score" title="reputation score" dir="ltr">7,958</span>
                    </div>
                </div>
            </div>
        }
    </div>


    <!--列表下方提示信息-->
    <h2 class="bottom-notice">
        Looking for more? Browse the <a href="/questions">complete list of questions</a>,
        or <a href="/tags">popular tags</a>. Help us answer <a href="/unanswered">unanswered
            questions</a>.
    </h2>


@section PageTopHeader{
    <div class="subheader">
        <h1 id="h-top-questions">
            @ViewBag.Title
        </h1>
        <div id="tabs">
            <a class="youarehere" href="?tab=active" title="questions that have been asked, answered, or updated recently">
                active</a> <a href="?tab=featured" title="questions with an active bounty"><span
                    class='bounty-indicator-tab'>3</span>featured</a> <a href="?tab=hot" title="questions with the most views, answers, and votes over the last few days">
                        hot</a> <a href="?tab=week" title="questions with the most views, answers, and votes this week">
                            week</a> <a href="?tab=month" title="questions with the most views, answers, and votes this month">
                                month</a>
        </div>
    </div>

}